package com.sakura.base.common.model;

/**
 * @author : Sakura
 * @Date : 2024/1/25 16:52
 * @Description : TODO
 */

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class PageParams {
    // 默认起始页码
    public static final long DEFAULT_PAGE_CURRENT = 1L;
    // 默认每页记录数
    public static final long DEFAULT_PAGE_SIZE = 10L;

    // 当前页码
    private Long pageNo = DEFAULT_PAGE_CURRENT;

    // 当前每页记录数
    private Long pageSize = DEFAULT_PAGE_SIZE;
}
